package com.ruoyi.supplier.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存盘点明细对象 tb_store_shelf_detail
 * 
 * @author ruoyi
 * @date 2021-03-08
 */
public class TbStoreShelfDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库存盘点明细表 */
    private Long id;

    /** 库存盘点表ID */
    private Long shelfId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 商品ID */
    private Long productId;

    /** 生产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date productDate;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Integer storeCount;

    /** 实物盘点数量 */
    @Excel(name = "实物盘点数量")
    private Integer physicalAssets;

    /** 实物盘点差异 */
    @Excel(name = "实物盘点差异")
    private Integer physicalDifference;

    /** 实物盘点结果 */
    @Excel(name = "实物盘点结果")
    private Long physicalResult;

    /** 出入库表ID */
    private Long storeInoutId;

    /** 规格 */
    @Excel(name = "规格")
    private String itemName;

    private String typeName;
    private String brandDesc;
    private String productSn;
    private String storeName;
    private Long priceId;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setShelfId(Long shelfId) 
    {
        this.shelfId = shelfId;
    }

    public Long getShelfId() 
    {
        return shelfId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProductDate(Date productDate) 
    {
        this.productDate = productDate;
    }

    public Date getProductDate() 
    {
        return productDate;
    }
    public void setStoreCount(Integer storeCount)
    {
        this.storeCount = storeCount;
    }

    public Integer getStoreCount()
    {
        return storeCount;
    }
    public void setPhysicalAssets(Integer physicalAssets)
    {
        this.physicalAssets = physicalAssets;
    }

    public Integer getPhysicalAssets()
    {
        return physicalAssets;
    }
    public void setPhysicalDifference(Integer physicalDifference)
    {
        this.physicalDifference = physicalDifference;
    }

    public Integer getPhysicalDifference()
    {
        return physicalDifference;
    }
    public void setPhysicalResult(Long physicalResult) 
    {
        this.physicalResult = physicalResult;
    }

    public Long getPhysicalResult() 
    {
        return physicalResult;
    }
    public void setStoreInoutId(Long storeInoutId) 
    {
        this.storeInoutId = storeInoutId;
    }

    public Long getStoreInoutId() 
    {
        return storeInoutId;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getBrandDesc() {
        return brandDesc;
    }

    public void setBrandDesc(String brandDesc) {
        this.brandDesc = brandDesc;
    }

    public String getProductSn() {
        return productSn;
    }

    public void setProductSn(String productSn) {
        this.productSn = productSn;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Long getPriceId() {
        return priceId;
    }

    public void setPriceId(Long priceId) {
        this.priceId = priceId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shelfId", getShelfId())
            .append("productName", getProductName())
            .append("productId", getProductId())
            .append("productDate", getProductDate())
            .append("shelfNumber", getStoreCount())
            .append("physicalAssets", getPhysicalAssets())
            .append("physicalDifference", getPhysicalDifference())
            .append("physicalResult", getPhysicalResult())
            .append("storeInoutId", getStoreInoutId())
            .append("itemName", getItemName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
